(function(pid){
	var dats	=	Ext.getCmp(pid).getSelectionModel().getSelection();
	if(dats.length==0){
		Ext.Msg.alert("提示","请选择。");
 	}
	return dats;
})